import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Stack;

class CQueue {
    Stack<Integer> stack1 ;
    Stack <Integer>stack2 ;

    public CQueue() {
        stack1 = new Stack();
        stack2 = new Stack();
    }

    public void appendTail(int value) {
        stack1.push(value);

    }

    public int deleteHead() {
        if(stack1.isEmpty()&&stack2.isEmpty())
        {
            return -1;
        }
        else{
            while(!stack1.isEmpty())
            {
                int v = stack1.pop();
                stack2.push(v);
            }

            int value =  stack2.pop();
            return value;
        }
    }
}

public class Solution  {
    public static void main(String[] args) {
        String[] str = new String[5];
        for (String myStr : str) {
            myStr = "atguigu";
            System.out.println(myStr);
        }
        for (int i = 0; i < str.length; i++) {
            System.out.println(str[i]);
        } }
    List ls = new ArrayList();


}